#include <renderer/impl/opengl/opengldeclaration.h>

namespace Elixir
{
 
  OpenGLDeclaration::OpenGLDeclaration() :
	elements_(8)
  {
	
  }



  OpenGLDeclaration::~OpenGLDeclaration()
  {
	
  }



  void OpenGLDeclaration::addElement(unsigned int stream, const OpenGLDeclaration::Element& element)
  {
    elements_[stream].push_back(element);
  }
  
  const OpenGLDeclaration::ElementArray& OpenGLDeclaration::getStreamElements(unsigned int stream) const
  {
    return elements_[stream];
  }
}
